package fab.forms.error 
{
	import flash.events.Event;
	import fab.forms.error.FormError;
	
	/**
	 * ...
	 * @author fab
	 */
	public class FormErrorEvent extends Event
	{
		public var error:FormError;
		
		public function FormErrorEvent(type : String, e:FormError) 
		{
			super( type ) ; 
			error = e;
		}
		override public function clone() :Event
		{
			return new FormErrorEvent( type, error ) ;
		}
		override public function toString() : String
		{
			return "FormErrorEvent : " + error;
		}		
	}

}